package com.lilin.programmer.service;

import com.lilin.programmer.common.commons.dto.AnnounceDTO;
import com.lilin.programmer.common.commons.dto.PageDTO;
import com.lilin.programmer.common.commons.dto.ResponseDTO;

/**
 * @author lilin
 * 李琳
 * 李琳
 * @create 2023-08-28 15:22
 */
public interface IAnnounceService {

    // 分页获取公告数据
    ResponseDTO<PageDTO<AnnounceDTO>> getAnnounceListByPage(PageDTO<AnnounceDTO> pageDTO);

    // 保存公告数据(添加、修改)
    ResponseDTO<Boolean> saveAnnounce(AnnounceDTO announceDTO);

    // 删除公告数据
    ResponseDTO<Boolean> removeAnnounce(AnnounceDTO announceDTO);
}
